package com.knowledge.knowledge_notes.service;

import com.knowledge.knowledge_notes.pojo.AdminPermission;

import java.util.List;
import java.util.Set;

public interface AdminPermissionService {
    public List<AdminPermission> listPermsByRoleId(int rid);

    public boolean needFilter(String requestAPI);

    public Set<String> listPermissionURLsByUser(String username);

    public List<AdminPermission> list();
}
